package service.server;

import java.util.Date;



public class ForumMessage {

	
	private String message;
	private Date date;
	private byte[] signedMessage;
	private ForumClientSession fcs;
	
	public ForumMessage(String message, byte[] signedMessage, ForumClientSession fcs){
		this.message = message;
		this.signedMessage = signedMessage;
		this.fcs = fcs;
		this.date = new Date();
	}
	
	public String getMessage(){
		return this.message;
	}
	
	public byte[] getSignedMessage(){
		return this.signedMessage;
	}
	
	public String getTime(){
		return this.date.toString();
	}
	
}
